<script lang="ts">
import { defineComponent, h } from 'vue'
import * as Icons from '@ant-design/icons-vue'

export default defineComponent({
  name: 'Icon',
  props: {
    type: {
      type: String,
      default: () => '',
    },
  },
  render() {
    return h(Icons[this.type])
  },
})
</script>
